package com.beamfield.model;

import java.util.ArrayList;
import java.util.Date;
import java.util.Iterator;
import java.util.List;

public class InboundCheckExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public InboundCheckExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        protected void addCriterionForJDBCDate(String condition, Date value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Date(value.getTime()), property);
        }

        protected void addCriterionForJDBCDate(String condition, List<Date> values, String property) {
            if (values == null || values.size() == 0) {
                throw new RuntimeException("Value list for " + property + " cannot be null or empty");
            }
            List<java.sql.Date> dateList = new ArrayList<java.sql.Date>();
            Iterator<Date> iter = values.iterator();
            while (iter.hasNext()) {
                dateList.add(new java.sql.Date(iter.next().getTime()));
            }
            addCriterion(condition, dateList, property);
        }

        protected void addCriterionForJDBCDate(String condition, Date value1, Date value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Date(value1.getTime()), new java.sql.Date(value2.getTime()), property);
        }

        public Criteria andInbound_check_idIsNull() {
            addCriterion("inbound_check_id is null");
            return (Criteria) this;
        }

        public Criteria andInbound_check_idIsNotNull() {
            addCriterion("inbound_check_id is not null");
            return (Criteria) this;
        }

        public Criteria andInbound_check_idEqualTo(Long value) {
            addCriterion("inbound_check_id =", value, "inbound_check_id");
            return (Criteria) this;
        }

        public Criteria andInbound_check_idNotEqualTo(Long value) {
            addCriterion("inbound_check_id <>", value, "inbound_check_id");
            return (Criteria) this;
        }

        public Criteria andInbound_check_idGreaterThan(Long value) {
            addCriterion("inbound_check_id >", value, "inbound_check_id");
            return (Criteria) this;
        }

        public Criteria andInbound_check_idGreaterThanOrEqualTo(Long value) {
            addCriterion("inbound_check_id >=", value, "inbound_check_id");
            return (Criteria) this;
        }

        public Criteria andInbound_check_idLessThan(Long value) {
            addCriterion("inbound_check_id <", value, "inbound_check_id");
            return (Criteria) this;
        }

        public Criteria andInbound_check_idLessThanOrEqualTo(Long value) {
            addCriterion("inbound_check_id <=", value, "inbound_check_id");
            return (Criteria) this;
        }

        public Criteria andInbound_check_idIn(List<Long> values) {
            addCriterion("inbound_check_id in", values, "inbound_check_id");
            return (Criteria) this;
        }

        public Criteria andInbound_check_idNotIn(List<Long> values) {
            addCriterion("inbound_check_id not in", values, "inbound_check_id");
            return (Criteria) this;
        }

        public Criteria andInbound_check_idBetween(Long value1, Long value2) {
            addCriterion("inbound_check_id between", value1, value2, "inbound_check_id");
            return (Criteria) this;
        }

        public Criteria andInbound_check_idNotBetween(Long value1, Long value2) {
            addCriterion("inbound_check_id not between", value1, value2, "inbound_check_id");
            return (Criteria) this;
        }

        public Criteria andInbound_idIsNull() {
            addCriterion("inbound_id is null");
            return (Criteria) this;
        }

        public Criteria andInbound_idIsNotNull() {
            addCriterion("inbound_id is not null");
            return (Criteria) this;
        }

        public Criteria andInbound_idEqualTo(Long value) {
            addCriterion("inbound_id =", value, "inbound_id");
            return (Criteria) this;
        }

        public Criteria andInbound_idNotEqualTo(Long value) {
            addCriterion("inbound_id <>", value, "inbound_id");
            return (Criteria) this;
        }

        public Criteria andInbound_idGreaterThan(Long value) {
            addCriterion("inbound_id >", value, "inbound_id");
            return (Criteria) this;
        }

        public Criteria andInbound_idGreaterThanOrEqualTo(Long value) {
            addCriterion("inbound_id >=", value, "inbound_id");
            return (Criteria) this;
        }

        public Criteria andInbound_idLessThan(Long value) {
            addCriterion("inbound_id <", value, "inbound_id");
            return (Criteria) this;
        }

        public Criteria andInbound_idLessThanOrEqualTo(Long value) {
            addCriterion("inbound_id <=", value, "inbound_id");
            return (Criteria) this;
        }

        public Criteria andInbound_idIn(List<Long> values) {
            addCriterion("inbound_id in", values, "inbound_id");
            return (Criteria) this;
        }

        public Criteria andInbound_idNotIn(List<Long> values) {
            addCriterion("inbound_id not in", values, "inbound_id");
            return (Criteria) this;
        }

        public Criteria andInbound_idBetween(Long value1, Long value2) {
            addCriterion("inbound_id between", value1, value2, "inbound_id");
            return (Criteria) this;
        }

        public Criteria andInbound_idNotBetween(Long value1, Long value2) {
            addCriterion("inbound_id not between", value1, value2, "inbound_id");
            return (Criteria) this;
        }

        public Criteria andCheck_depIsNull() {
            addCriterion("check_dep is null");
            return (Criteria) this;
        }

        public Criteria andCheck_depIsNotNull() {
            addCriterion("check_dep is not null");
            return (Criteria) this;
        }

        public Criteria andCheck_depEqualTo(String value) {
            addCriterion("check_dep =", value, "check_dep");
            return (Criteria) this;
        }

        public Criteria andCheck_depNotEqualTo(String value) {
            addCriterion("check_dep <>", value, "check_dep");
            return (Criteria) this;
        }

        public Criteria andCheck_depGreaterThan(String value) {
            addCriterion("check_dep >", value, "check_dep");
            return (Criteria) this;
        }

        public Criteria andCheck_depGreaterThanOrEqualTo(String value) {
            addCriterion("check_dep >=", value, "check_dep");
            return (Criteria) this;
        }

        public Criteria andCheck_depLessThan(String value) {
            addCriterion("check_dep <", value, "check_dep");
            return (Criteria) this;
        }

        public Criteria andCheck_depLessThanOrEqualTo(String value) {
            addCriterion("check_dep <=", value, "check_dep");
            return (Criteria) this;
        }

        public Criteria andCheck_depLike(String value) {
            addCriterion("check_dep like", value, "check_dep");
            return (Criteria) this;
        }

        public Criteria andCheck_depNotLike(String value) {
            addCriterion("check_dep not like", value, "check_dep");
            return (Criteria) this;
        }

        public Criteria andCheck_depIn(List<String> values) {
            addCriterion("check_dep in", values, "check_dep");
            return (Criteria) this;
        }

        public Criteria andCheck_depNotIn(List<String> values) {
            addCriterion("check_dep not in", values, "check_dep");
            return (Criteria) this;
        }

        public Criteria andCheck_depBetween(String value1, String value2) {
            addCriterion("check_dep between", value1, value2, "check_dep");
            return (Criteria) this;
        }

        public Criteria andCheck_depNotBetween(String value1, String value2) {
            addCriterion("check_dep not between", value1, value2, "check_dep");
            return (Criteria) this;
        }

        public Criteria andCheck_numIsNull() {
            addCriterion("check_num is null");
            return (Criteria) this;
        }

        public Criteria andCheck_numIsNotNull() {
            addCriterion("check_num is not null");
            return (Criteria) this;
        }

        public Criteria andCheck_numEqualTo(String value) {
            addCriterion("check_num =", value, "check_num");
            return (Criteria) this;
        }

        public Criteria andCheck_numNotEqualTo(String value) {
            addCriterion("check_num <>", value, "check_num");
            return (Criteria) this;
        }

        public Criteria andCheck_numGreaterThan(String value) {
            addCriterion("check_num >", value, "check_num");
            return (Criteria) this;
        }

        public Criteria andCheck_numGreaterThanOrEqualTo(String value) {
            addCriterion("check_num >=", value, "check_num");
            return (Criteria) this;
        }

        public Criteria andCheck_numLessThan(String value) {
            addCriterion("check_num <", value, "check_num");
            return (Criteria) this;
        }

        public Criteria andCheck_numLessThanOrEqualTo(String value) {
            addCriterion("check_num <=", value, "check_num");
            return (Criteria) this;
        }

        public Criteria andCheck_numLike(String value) {
            addCriterion("check_num like", value, "check_num");
            return (Criteria) this;
        }

        public Criteria andCheck_numNotLike(String value) {
            addCriterion("check_num not like", value, "check_num");
            return (Criteria) this;
        }

        public Criteria andCheck_numIn(List<String> values) {
            addCriterion("check_num in", values, "check_num");
            return (Criteria) this;
        }

        public Criteria andCheck_numNotIn(List<String> values) {
            addCriterion("check_num not in", values, "check_num");
            return (Criteria) this;
        }

        public Criteria andCheck_numBetween(String value1, String value2) {
            addCriterion("check_num between", value1, value2, "check_num");
            return (Criteria) this;
        }

        public Criteria andCheck_numNotBetween(String value1, String value2) {
            addCriterion("check_num not between", value1, value2, "check_num");
            return (Criteria) this;
        }

        public Criteria andSample_numIsNull() {
            addCriterion("sample_num is null");
            return (Criteria) this;
        }

        public Criteria andSample_numIsNotNull() {
            addCriterion("sample_num is not null");
            return (Criteria) this;
        }

        public Criteria andSample_numEqualTo(String value) {
            addCriterion("sample_num =", value, "sample_num");
            return (Criteria) this;
        }

        public Criteria andSample_numNotEqualTo(String value) {
            addCriterion("sample_num <>", value, "sample_num");
            return (Criteria) this;
        }

        public Criteria andSample_numGreaterThan(String value) {
            addCriterion("sample_num >", value, "sample_num");
            return (Criteria) this;
        }

        public Criteria andSample_numGreaterThanOrEqualTo(String value) {
            addCriterion("sample_num >=", value, "sample_num");
            return (Criteria) this;
        }

        public Criteria andSample_numLessThan(String value) {
            addCriterion("sample_num <", value, "sample_num");
            return (Criteria) this;
        }

        public Criteria andSample_numLessThanOrEqualTo(String value) {
            addCriterion("sample_num <=", value, "sample_num");
            return (Criteria) this;
        }

        public Criteria andSample_numLike(String value) {
            addCriterion("sample_num like", value, "sample_num");
            return (Criteria) this;
        }

        public Criteria andSample_numNotLike(String value) {
            addCriterion("sample_num not like", value, "sample_num");
            return (Criteria) this;
        }

        public Criteria andSample_numIn(List<String> values) {
            addCriterion("sample_num in", values, "sample_num");
            return (Criteria) this;
        }

        public Criteria andSample_numNotIn(List<String> values) {
            addCriterion("sample_num not in", values, "sample_num");
            return (Criteria) this;
        }

        public Criteria andSample_numBetween(String value1, String value2) {
            addCriterion("sample_num between", value1, value2, "sample_num");
            return (Criteria) this;
        }

        public Criteria andSample_numNotBetween(String value1, String value2) {
            addCriterion("sample_num not between", value1, value2, "sample_num");
            return (Criteria) this;
        }

        public Criteria andTest_numIsNull() {
            addCriterion("test_num is null");
            return (Criteria) this;
        }

        public Criteria andTest_numIsNotNull() {
            addCriterion("test_num is not null");
            return (Criteria) this;
        }

        public Criteria andTest_numEqualTo(Double value) {
            addCriterion("test_num =", value, "test_num");
            return (Criteria) this;
        }

        public Criteria andTest_numNotEqualTo(Double value) {
            addCriterion("test_num <>", value, "test_num");
            return (Criteria) this;
        }

        public Criteria andTest_numGreaterThan(Double value) {
            addCriterion("test_num >", value, "test_num");
            return (Criteria) this;
        }

        public Criteria andTest_numGreaterThanOrEqualTo(Double value) {
            addCriterion("test_num >=", value, "test_num");
            return (Criteria) this;
        }

        public Criteria andTest_numLessThan(Double value) {
            addCriterion("test_num <", value, "test_num");
            return (Criteria) this;
        }

        public Criteria andTest_numLessThanOrEqualTo(Double value) {
            addCriterion("test_num <=", value, "test_num");
            return (Criteria) this;
        }

        public Criteria andTest_numIn(List<Double> values) {
            addCriterion("test_num in", values, "test_num");
            return (Criteria) this;
        }

        public Criteria andTest_numNotIn(List<Double> values) {
            addCriterion("test_num not in", values, "test_num");
            return (Criteria) this;
        }

        public Criteria andTest_numBetween(Double value1, Double value2) {
            addCriterion("test_num between", value1, value2, "test_num");
            return (Criteria) this;
        }

        public Criteria andTest_numNotBetween(Double value1, Double value2) {
            addCriterion("test_num not between", value1, value2, "test_num");
            return (Criteria) this;
        }

        public Criteria andLevelIsNull() {
            addCriterion("level is null");
            return (Criteria) this;
        }

        public Criteria andLevelIsNotNull() {
            addCriterion("level is not null");
            return (Criteria) this;
        }

        public Criteria andLevelEqualTo(String value) {
            addCriterion("level =", value, "level");
            return (Criteria) this;
        }

        public Criteria andLevelNotEqualTo(String value) {
            addCriterion("level <>", value, "level");
            return (Criteria) this;
        }

        public Criteria andLevelGreaterThan(String value) {
            addCriterion("level >", value, "level");
            return (Criteria) this;
        }

        public Criteria andLevelGreaterThanOrEqualTo(String value) {
            addCriterion("level >=", value, "level");
            return (Criteria) this;
        }

        public Criteria andLevelLessThan(String value) {
            addCriterion("level <", value, "level");
            return (Criteria) this;
        }

        public Criteria andLevelLessThanOrEqualTo(String value) {
            addCriterion("level <=", value, "level");
            return (Criteria) this;
        }

        public Criteria andLevelLike(String value) {
            addCriterion("level like", value, "level");
            return (Criteria) this;
        }

        public Criteria andLevelNotLike(String value) {
            addCriterion("level not like", value, "level");
            return (Criteria) this;
        }

        public Criteria andLevelIn(List<String> values) {
            addCriterion("level in", values, "level");
            return (Criteria) this;
        }

        public Criteria andLevelNotIn(List<String> values) {
            addCriterion("level not in", values, "level");
            return (Criteria) this;
        }

        public Criteria andLevelBetween(String value1, String value2) {
            addCriterion("level between", value1, value2, "level");
            return (Criteria) this;
        }

        public Criteria andLevelNotBetween(String value1, String value2) {
            addCriterion("level not between", value1, value2, "level");
            return (Criteria) this;
        }

        public Criteria andNominal_diameterIsNull() {
            addCriterion("nominal_diameter is null");
            return (Criteria) this;
        }

        public Criteria andNominal_diameterIsNotNull() {
            addCriterion("nominal_diameter is not null");
            return (Criteria) this;
        }

        public Criteria andNominal_diameterEqualTo(String value) {
            addCriterion("nominal_diameter =", value, "nominal_diameter");
            return (Criteria) this;
        }

        public Criteria andNominal_diameterNotEqualTo(String value) {
            addCriterion("nominal_diameter <>", value, "nominal_diameter");
            return (Criteria) this;
        }

        public Criteria andNominal_diameterGreaterThan(String value) {
            addCriterion("nominal_diameter >", value, "nominal_diameter");
            return (Criteria) this;
        }

        public Criteria andNominal_diameterGreaterThanOrEqualTo(String value) {
            addCriterion("nominal_diameter >=", value, "nominal_diameter");
            return (Criteria) this;
        }

        public Criteria andNominal_diameterLessThan(String value) {
            addCriterion("nominal_diameter <", value, "nominal_diameter");
            return (Criteria) this;
        }

        public Criteria andNominal_diameterLessThanOrEqualTo(String value) {
            addCriterion("nominal_diameter <=", value, "nominal_diameter");
            return (Criteria) this;
        }

        public Criteria andNominal_diameterLike(String value) {
            addCriterion("nominal_diameter like", value, "nominal_diameter");
            return (Criteria) this;
        }

        public Criteria andNominal_diameterNotLike(String value) {
            addCriterion("nominal_diameter not like", value, "nominal_diameter");
            return (Criteria) this;
        }

        public Criteria andNominal_diameterIn(List<String> values) {
            addCriterion("nominal_diameter in", values, "nominal_diameter");
            return (Criteria) this;
        }

        public Criteria andNominal_diameterNotIn(List<String> values) {
            addCriterion("nominal_diameter not in", values, "nominal_diameter");
            return (Criteria) this;
        }

        public Criteria andNominal_diameterBetween(String value1, String value2) {
            addCriterion("nominal_diameter between", value1, value2, "nominal_diameter");
            return (Criteria) this;
        }

        public Criteria andNominal_diameterNotBetween(String value1, String value2) {
            addCriterion("nominal_diameter not between", value1, value2, "nominal_diameter");
            return (Criteria) this;
        }

        public Criteria andRepresent_numIsNull() {
            addCriterion("represent_num is null");
            return (Criteria) this;
        }

        public Criteria andRepresent_numIsNotNull() {
            addCriterion("represent_num is not null");
            return (Criteria) this;
        }

        public Criteria andRepresent_numEqualTo(Double value) {
            addCriterion("represent_num =", value, "represent_num");
            return (Criteria) this;
        }

        public Criteria andRepresent_numNotEqualTo(Double value) {
            addCriterion("represent_num <>", value, "represent_num");
            return (Criteria) this;
        }

        public Criteria andRepresent_numGreaterThan(Double value) {
            addCriterion("represent_num >", value, "represent_num");
            return (Criteria) this;
        }

        public Criteria andRepresent_numGreaterThanOrEqualTo(Double value) {
            addCriterion("represent_num >=", value, "represent_num");
            return (Criteria) this;
        }

        public Criteria andRepresent_numLessThan(Double value) {
            addCriterion("represent_num <", value, "represent_num");
            return (Criteria) this;
        }

        public Criteria andRepresent_numLessThanOrEqualTo(Double value) {
            addCriterion("represent_num <=", value, "represent_num");
            return (Criteria) this;
        }

        public Criteria andRepresent_numIn(List<Double> values) {
            addCriterion("represent_num in", values, "represent_num");
            return (Criteria) this;
        }

        public Criteria andRepresent_numNotIn(List<Double> values) {
            addCriterion("represent_num not in", values, "represent_num");
            return (Criteria) this;
        }

        public Criteria andRepresent_numBetween(Double value1, Double value2) {
            addCriterion("represent_num between", value1, value2, "represent_num");
            return (Criteria) this;
        }

        public Criteria andRepresent_numNotBetween(Double value1, Double value2) {
            addCriterion("represent_num not between", value1, value2, "represent_num");
            return (Criteria) this;
        }

        public Criteria andStorage_placeIsNull() {
            addCriterion("storage_place is null");
            return (Criteria) this;
        }

        public Criteria andStorage_placeIsNotNull() {
            addCriterion("storage_place is not null");
            return (Criteria) this;
        }

        public Criteria andStorage_placeEqualTo(String value) {
            addCriterion("storage_place =", value, "storage_place");
            return (Criteria) this;
        }

        public Criteria andStorage_placeNotEqualTo(String value) {
            addCriterion("storage_place <>", value, "storage_place");
            return (Criteria) this;
        }

        public Criteria andStorage_placeGreaterThan(String value) {
            addCriterion("storage_place >", value, "storage_place");
            return (Criteria) this;
        }

        public Criteria andStorage_placeGreaterThanOrEqualTo(String value) {
            addCriterion("storage_place >=", value, "storage_place");
            return (Criteria) this;
        }

        public Criteria andStorage_placeLessThan(String value) {
            addCriterion("storage_place <", value, "storage_place");
            return (Criteria) this;
        }

        public Criteria andStorage_placeLessThanOrEqualTo(String value) {
            addCriterion("storage_place <=", value, "storage_place");
            return (Criteria) this;
        }

        public Criteria andStorage_placeLike(String value) {
            addCriterion("storage_place like", value, "storage_place");
            return (Criteria) this;
        }

        public Criteria andStorage_placeNotLike(String value) {
            addCriterion("storage_place not like", value, "storage_place");
            return (Criteria) this;
        }

        public Criteria andStorage_placeIn(List<String> values) {
            addCriterion("storage_place in", values, "storage_place");
            return (Criteria) this;
        }

        public Criteria andStorage_placeNotIn(List<String> values) {
            addCriterion("storage_place not in", values, "storage_place");
            return (Criteria) this;
        }

        public Criteria andStorage_placeBetween(String value1, String value2) {
            addCriterion("storage_place between", value1, value2, "storage_place");
            return (Criteria) this;
        }

        public Criteria andStorage_placeNotBetween(String value1, String value2) {
            addCriterion("storage_place not between", value1, value2, "storage_place");
            return (Criteria) this;
        }

        public Criteria andWdateIsNull() {
            addCriterion("wdate is null");
            return (Criteria) this;
        }

        public Criteria andWdateIsNotNull() {
            addCriterion("wdate is not null");
            return (Criteria) this;
        }

        public Criteria andWdateEqualTo(Date value) {
            addCriterionForJDBCDate("wdate =", value, "wdate");
            return (Criteria) this;
        }

        public Criteria andWdateNotEqualTo(Date value) {
            addCriterionForJDBCDate("wdate <>", value, "wdate");
            return (Criteria) this;
        }

        public Criteria andWdateGreaterThan(Date value) {
            addCriterionForJDBCDate("wdate >", value, "wdate");
            return (Criteria) this;
        }

        public Criteria andWdateGreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("wdate >=", value, "wdate");
            return (Criteria) this;
        }

        public Criteria andWdateLessThan(Date value) {
            addCriterionForJDBCDate("wdate <", value, "wdate");
            return (Criteria) this;
        }

        public Criteria andWdateLessThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("wdate <=", value, "wdate");
            return (Criteria) this;
        }

        public Criteria andWdateIn(List<Date> values) {
            addCriterionForJDBCDate("wdate in", values, "wdate");
            return (Criteria) this;
        }

        public Criteria andWdateNotIn(List<Date> values) {
            addCriterionForJDBCDate("wdate not in", values, "wdate");
            return (Criteria) this;
        }

        public Criteria andWdateBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("wdate between", value1, value2, "wdate");
            return (Criteria) this;
        }

        public Criteria andWdateNotBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("wdate not between", value1, value2, "wdate");
            return (Criteria) this;
        }

        public Criteria andSiteIsNull() {
            addCriterion("site is null");
            return (Criteria) this;
        }

        public Criteria andSiteIsNotNull() {
            addCriterion("site is not null");
            return (Criteria) this;
        }

        public Criteria andSiteEqualTo(String value) {
            addCriterion("site =", value, "site");
            return (Criteria) this;
        }

        public Criteria andSiteNotEqualTo(String value) {
            addCriterion("site <>", value, "site");
            return (Criteria) this;
        }

        public Criteria andSiteGreaterThan(String value) {
            addCriterion("site >", value, "site");
            return (Criteria) this;
        }

        public Criteria andSiteGreaterThanOrEqualTo(String value) {
            addCriterion("site >=", value, "site");
            return (Criteria) this;
        }

        public Criteria andSiteLessThan(String value) {
            addCriterion("site <", value, "site");
            return (Criteria) this;
        }

        public Criteria andSiteLessThanOrEqualTo(String value) {
            addCriterion("site <=", value, "site");
            return (Criteria) this;
        }

        public Criteria andSiteLike(String value) {
            addCriterion("site like", value, "site");
            return (Criteria) this;
        }

        public Criteria andSiteNotLike(String value) {
            addCriterion("site not like", value, "site");
            return (Criteria) this;
        }

        public Criteria andSiteIn(List<String> values) {
            addCriterion("site in", values, "site");
            return (Criteria) this;
        }

        public Criteria andSiteNotIn(List<String> values) {
            addCriterion("site not in", values, "site");
            return (Criteria) this;
        }

        public Criteria andSiteBetween(String value1, String value2) {
            addCriterion("site between", value1, value2, "site");
            return (Criteria) this;
        }

        public Criteria andSiteNotBetween(String value1, String value2) {
            addCriterion("site not between", value1, value2, "site");
            return (Criteria) this;
        }

        public Criteria andTest_projectIsNull() {
            addCriterion("test_project is null");
            return (Criteria) this;
        }

        public Criteria andTest_projectIsNotNull() {
            addCriterion("test_project is not null");
            return (Criteria) this;
        }

        public Criteria andTest_projectEqualTo(String value) {
            addCriterion("test_project =", value, "test_project");
            return (Criteria) this;
        }

        public Criteria andTest_projectNotEqualTo(String value) {
            addCriterion("test_project <>", value, "test_project");
            return (Criteria) this;
        }

        public Criteria andTest_projectGreaterThan(String value) {
            addCriterion("test_project >", value, "test_project");
            return (Criteria) this;
        }

        public Criteria andTest_projectGreaterThanOrEqualTo(String value) {
            addCriterion("test_project >=", value, "test_project");
            return (Criteria) this;
        }

        public Criteria andTest_projectLessThan(String value) {
            addCriterion("test_project <", value, "test_project");
            return (Criteria) this;
        }

        public Criteria andTest_projectLessThanOrEqualTo(String value) {
            addCriterion("test_project <=", value, "test_project");
            return (Criteria) this;
        }

        public Criteria andTest_projectLike(String value) {
            addCriterion("test_project like", value, "test_project");
            return (Criteria) this;
        }

        public Criteria andTest_projectNotLike(String value) {
            addCriterion("test_project not like", value, "test_project");
            return (Criteria) this;
        }

        public Criteria andTest_projectIn(List<String> values) {
            addCriterion("test_project in", values, "test_project");
            return (Criteria) this;
        }

        public Criteria andTest_projectNotIn(List<String> values) {
            addCriterion("test_project not in", values, "test_project");
            return (Criteria) this;
        }

        public Criteria andTest_projectBetween(String value1, String value2) {
            addCriterion("test_project between", value1, value2, "test_project");
            return (Criteria) this;
        }

        public Criteria andTest_projectNotBetween(String value1, String value2) {
            addCriterion("test_project not between", value1, value2, "test_project");
            return (Criteria) this;
        }

        public Criteria andConsignerIsNull() {
            addCriterion("consigner is null");
            return (Criteria) this;
        }

        public Criteria andConsignerIsNotNull() {
            addCriterion("consigner is not null");
            return (Criteria) this;
        }

        public Criteria andConsignerEqualTo(String value) {
            addCriterion("consigner =", value, "consigner");
            return (Criteria) this;
        }

        public Criteria andConsignerNotEqualTo(String value) {
            addCriterion("consigner <>", value, "consigner");
            return (Criteria) this;
        }

        public Criteria andConsignerGreaterThan(String value) {
            addCriterion("consigner >", value, "consigner");
            return (Criteria) this;
        }

        public Criteria andConsignerGreaterThanOrEqualTo(String value) {
            addCriterion("consigner >=", value, "consigner");
            return (Criteria) this;
        }

        public Criteria andConsignerLessThan(String value) {
            addCriterion("consigner <", value, "consigner");
            return (Criteria) this;
        }

        public Criteria andConsignerLessThanOrEqualTo(String value) {
            addCriterion("consigner <=", value, "consigner");
            return (Criteria) this;
        }

        public Criteria andConsignerLike(String value) {
            addCriterion("consigner like", value, "consigner");
            return (Criteria) this;
        }

        public Criteria andConsignerNotLike(String value) {
            addCriterion("consigner not like", value, "consigner");
            return (Criteria) this;
        }

        public Criteria andConsignerIn(List<String> values) {
            addCriterion("consigner in", values, "consigner");
            return (Criteria) this;
        }

        public Criteria andConsignerNotIn(List<String> values) {
            addCriterion("consigner not in", values, "consigner");
            return (Criteria) this;
        }

        public Criteria andConsignerBetween(String value1, String value2) {
            addCriterion("consigner between", value1, value2, "consigner");
            return (Criteria) this;
        }

        public Criteria andConsignerNotBetween(String value1, String value2) {
            addCriterion("consigner not between", value1, value2, "consigner");
            return (Criteria) this;
        }

        public Criteria andAddressIsNull() {
            addCriterion("address is null");
            return (Criteria) this;
        }

        public Criteria andAddressIsNotNull() {
            addCriterion("address is not null");
            return (Criteria) this;
        }

        public Criteria andAddressEqualTo(String value) {
            addCriterion("address =", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressNotEqualTo(String value) {
            addCriterion("address <>", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressGreaterThan(String value) {
            addCriterion("address >", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressGreaterThanOrEqualTo(String value) {
            addCriterion("address >=", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressLessThan(String value) {
            addCriterion("address <", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressLessThanOrEqualTo(String value) {
            addCriterion("address <=", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressLike(String value) {
            addCriterion("address like", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressNotLike(String value) {
            addCriterion("address not like", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressIn(List<String> values) {
            addCriterion("address in", values, "address");
            return (Criteria) this;
        }

        public Criteria andAddressNotIn(List<String> values) {
            addCriterion("address not in", values, "address");
            return (Criteria) this;
        }

        public Criteria andAddressBetween(String value1, String value2) {
            addCriterion("address between", value1, value2, "address");
            return (Criteria) this;
        }

        public Criteria andAddressNotBetween(String value1, String value2) {
            addCriterion("address not between", value1, value2, "address");
            return (Criteria) this;
        }

        public Criteria andAuthorize_agencyIsNull() {
            addCriterion("authorize_agency is null");
            return (Criteria) this;
        }

        public Criteria andAuthorize_agencyIsNotNull() {
            addCriterion("authorize_agency is not null");
            return (Criteria) this;
        }

        public Criteria andAuthorize_agencyEqualTo(String value) {
            addCriterion("authorize_agency =", value, "authorize_agency");
            return (Criteria) this;
        }

        public Criteria andAuthorize_agencyNotEqualTo(String value) {
            addCriterion("authorize_agency <>", value, "authorize_agency");
            return (Criteria) this;
        }

        public Criteria andAuthorize_agencyGreaterThan(String value) {
            addCriterion("authorize_agency >", value, "authorize_agency");
            return (Criteria) this;
        }

        public Criteria andAuthorize_agencyGreaterThanOrEqualTo(String value) {
            addCriterion("authorize_agency >=", value, "authorize_agency");
            return (Criteria) this;
        }

        public Criteria andAuthorize_agencyLessThan(String value) {
            addCriterion("authorize_agency <", value, "authorize_agency");
            return (Criteria) this;
        }

        public Criteria andAuthorize_agencyLessThanOrEqualTo(String value) {
            addCriterion("authorize_agency <=", value, "authorize_agency");
            return (Criteria) this;
        }

        public Criteria andAuthorize_agencyLike(String value) {
            addCriterion("authorize_agency like", value, "authorize_agency");
            return (Criteria) this;
        }

        public Criteria andAuthorize_agencyNotLike(String value) {
            addCriterion("authorize_agency not like", value, "authorize_agency");
            return (Criteria) this;
        }

        public Criteria andAuthorize_agencyIn(List<String> values) {
            addCriterion("authorize_agency in", values, "authorize_agency");
            return (Criteria) this;
        }

        public Criteria andAuthorize_agencyNotIn(List<String> values) {
            addCriterion("authorize_agency not in", values, "authorize_agency");
            return (Criteria) this;
        }

        public Criteria andAuthorize_agencyBetween(String value1, String value2) {
            addCriterion("authorize_agency between", value1, value2, "authorize_agency");
            return (Criteria) this;
        }

        public Criteria andAuthorize_agencyNotBetween(String value1, String value2) {
            addCriterion("authorize_agency not between", value1, value2, "authorize_agency");
            return (Criteria) this;
        }

        public Criteria andWitnessIsNull() {
            addCriterion("witness is null");
            return (Criteria) this;
        }

        public Criteria andWitnessIsNotNull() {
            addCriterion("witness is not null");
            return (Criteria) this;
        }

        public Criteria andWitnessEqualTo(String value) {
            addCriterion("witness =", value, "witness");
            return (Criteria) this;
        }

        public Criteria andWitnessNotEqualTo(String value) {
            addCriterion("witness <>", value, "witness");
            return (Criteria) this;
        }

        public Criteria andWitnessGreaterThan(String value) {
            addCriterion("witness >", value, "witness");
            return (Criteria) this;
        }

        public Criteria andWitnessGreaterThanOrEqualTo(String value) {
            addCriterion("witness >=", value, "witness");
            return (Criteria) this;
        }

        public Criteria andWitnessLessThan(String value) {
            addCriterion("witness <", value, "witness");
            return (Criteria) this;
        }

        public Criteria andWitnessLessThanOrEqualTo(String value) {
            addCriterion("witness <=", value, "witness");
            return (Criteria) this;
        }

        public Criteria andWitnessLike(String value) {
            addCriterion("witness like", value, "witness");
            return (Criteria) this;
        }

        public Criteria andWitnessNotLike(String value) {
            addCriterion("witness not like", value, "witness");
            return (Criteria) this;
        }

        public Criteria andWitnessIn(List<String> values) {
            addCriterion("witness in", values, "witness");
            return (Criteria) this;
        }

        public Criteria andWitnessNotIn(List<String> values) {
            addCriterion("witness not in", values, "witness");
            return (Criteria) this;
        }

        public Criteria andWitnessBetween(String value1, String value2) {
            addCriterion("witness between", value1, value2, "witness");
            return (Criteria) this;
        }

        public Criteria andWitnessNotBetween(String value1, String value2) {
            addCriterion("witness not between", value1, value2, "witness");
            return (Criteria) this;
        }

        public Criteria andSatateIsNull() {
            addCriterion("satate is null");
            return (Criteria) this;
        }

        public Criteria andSatateIsNotNull() {
            addCriterion("satate is not null");
            return (Criteria) this;
        }

        public Criteria andSatateEqualTo(Integer value) {
            addCriterion("satate =", value, "satate");
            return (Criteria) this;
        }

        public Criteria andSatateNotEqualTo(Integer value) {
            addCriterion("satate <>", value, "satate");
            return (Criteria) this;
        }

        public Criteria andSatateGreaterThan(Integer value) {
            addCriterion("satate >", value, "satate");
            return (Criteria) this;
        }

        public Criteria andSatateGreaterThanOrEqualTo(Integer value) {
            addCriterion("satate >=", value, "satate");
            return (Criteria) this;
        }

        public Criteria andSatateLessThan(Integer value) {
            addCriterion("satate <", value, "satate");
            return (Criteria) this;
        }

        public Criteria andSatateLessThanOrEqualTo(Integer value) {
            addCriterion("satate <=", value, "satate");
            return (Criteria) this;
        }

        public Criteria andSatateIn(List<Integer> values) {
            addCriterion("satate in", values, "satate");
            return (Criteria) this;
        }

        public Criteria andSatateNotIn(List<Integer> values) {
            addCriterion("satate not in", values, "satate");
            return (Criteria) this;
        }

        public Criteria andSatateBetween(Integer value1, Integer value2) {
            addCriterion("satate between", value1, value2, "satate");
            return (Criteria) this;
        }

        public Criteria andSatateNotBetween(Integer value1, Integer value2) {
            addCriterion("satate not between", value1, value2, "satate");
            return (Criteria) this;
        }

        public Criteria andOperatorIsNull() {
            addCriterion("operator is null");
            return (Criteria) this;
        }

        public Criteria andOperatorIsNotNull() {
            addCriterion("operator is not null");
            return (Criteria) this;
        }

        public Criteria andOperatorEqualTo(Long value) {
            addCriterion("operator =", value, "operator");
            return (Criteria) this;
        }

        public Criteria andOperatorNotEqualTo(Long value) {
            addCriterion("operator <>", value, "operator");
            return (Criteria) this;
        }

        public Criteria andOperatorGreaterThan(Long value) {
            addCriterion("operator >", value, "operator");
            return (Criteria) this;
        }

        public Criteria andOperatorGreaterThanOrEqualTo(Long value) {
            addCriterion("operator >=", value, "operator");
            return (Criteria) this;
        }

        public Criteria andOperatorLessThan(Long value) {
            addCriterion("operator <", value, "operator");
            return (Criteria) this;
        }

        public Criteria andOperatorLessThanOrEqualTo(Long value) {
            addCriterion("operator <=", value, "operator");
            return (Criteria) this;
        }

        public Criteria andOperatorIn(List<Long> values) {
            addCriterion("operator in", values, "operator");
            return (Criteria) this;
        }

        public Criteria andOperatorNotIn(List<Long> values) {
            addCriterion("operator not in", values, "operator");
            return (Criteria) this;
        }

        public Criteria andOperatorBetween(Long value1, Long value2) {
            addCriterion("operator between", value1, value2, "operator");
            return (Criteria) this;
        }

        public Criteria andOperatorNotBetween(Long value1, Long value2) {
            addCriterion("operator not between", value1, value2, "operator");
            return (Criteria) this;
        }

        public Criteria andAddtimeIsNull() {
            addCriterion("addtime is null");
            return (Criteria) this;
        }

        public Criteria andAddtimeIsNotNull() {
            addCriterion("addtime is not null");
            return (Criteria) this;
        }

        public Criteria andAddtimeEqualTo(Date value) {
            addCriterion("addtime =", value, "addtime");
            return (Criteria) this;
        }

        public Criteria andAddtimeNotEqualTo(Date value) {
            addCriterion("addtime <>", value, "addtime");
            return (Criteria) this;
        }

        public Criteria andAddtimeGreaterThan(Date value) {
            addCriterion("addtime >", value, "addtime");
            return (Criteria) this;
        }

        public Criteria andAddtimeGreaterThanOrEqualTo(Date value) {
            addCriterion("addtime >=", value, "addtime");
            return (Criteria) this;
        }

        public Criteria andAddtimeLessThan(Date value) {
            addCriterion("addtime <", value, "addtime");
            return (Criteria) this;
        }

        public Criteria andAddtimeLessThanOrEqualTo(Date value) {
            addCriterion("addtime <=", value, "addtime");
            return (Criteria) this;
        }

        public Criteria andAddtimeIn(List<Date> values) {
            addCriterion("addtime in", values, "addtime");
            return (Criteria) this;
        }

        public Criteria andAddtimeNotIn(List<Date> values) {
            addCriterion("addtime not in", values, "addtime");
            return (Criteria) this;
        }

        public Criteria andAddtimeBetween(Date value1, Date value2) {
            addCriterion("addtime between", value1, value2, "addtime");
            return (Criteria) this;
        }

        public Criteria andAddtimeNotBetween(Date value1, Date value2) {
            addCriterion("addtime not between", value1, value2, "addtime");
            return (Criteria) this;
        }

        public Criteria andUpdaterIsNull() {
            addCriterion("updater is null");
            return (Criteria) this;
        }

        public Criteria andUpdaterIsNotNull() {
            addCriterion("updater is not null");
            return (Criteria) this;
        }

        public Criteria andUpdaterEqualTo(Long value) {
            addCriterion("updater =", value, "updater");
            return (Criteria) this;
        }

        public Criteria andUpdaterNotEqualTo(Long value) {
            addCriterion("updater <>", value, "updater");
            return (Criteria) this;
        }

        public Criteria andUpdaterGreaterThan(Long value) {
            addCriterion("updater >", value, "updater");
            return (Criteria) this;
        }

        public Criteria andUpdaterGreaterThanOrEqualTo(Long value) {
            addCriterion("updater >=", value, "updater");
            return (Criteria) this;
        }

        public Criteria andUpdaterLessThan(Long value) {
            addCriterion("updater <", value, "updater");
            return (Criteria) this;
        }

        public Criteria andUpdaterLessThanOrEqualTo(Long value) {
            addCriterion("updater <=", value, "updater");
            return (Criteria) this;
        }

        public Criteria andUpdaterIn(List<Long> values) {
            addCriterion("updater in", values, "updater");
            return (Criteria) this;
        }

        public Criteria andUpdaterNotIn(List<Long> values) {
            addCriterion("updater not in", values, "updater");
            return (Criteria) this;
        }

        public Criteria andUpdaterBetween(Long value1, Long value2) {
            addCriterion("updater between", value1, value2, "updater");
            return (Criteria) this;
        }

        public Criteria andUpdaterNotBetween(Long value1, Long value2) {
            addCriterion("updater not between", value1, value2, "updater");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeIsNull() {
            addCriterion("updatetime is null");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeIsNotNull() {
            addCriterion("updatetime is not null");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeEqualTo(Date value) {
            addCriterion("updatetime =", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeNotEqualTo(Date value) {
            addCriterion("updatetime <>", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeGreaterThan(Date value) {
            addCriterion("updatetime >", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeGreaterThanOrEqualTo(Date value) {
            addCriterion("updatetime >=", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeLessThan(Date value) {
            addCriterion("updatetime <", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeLessThanOrEqualTo(Date value) {
            addCriterion("updatetime <=", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeIn(List<Date> values) {
            addCriterion("updatetime in", values, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeNotIn(List<Date> values) {
            addCriterion("updatetime not in", values, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeBetween(Date value1, Date value2) {
            addCriterion("updatetime between", value1, value2, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeNotBetween(Date value1, Date value2) {
            addCriterion("updatetime not between", value1, value2, "updatetime");
            return (Criteria) this;
        }

        public Criteria andBeam_idIsNull() {
            addCriterion("beam_id is null");
            return (Criteria) this;
        }

        public Criteria andBeam_idIsNotNull() {
            addCriterion("beam_id is not null");
            return (Criteria) this;
        }

        public Criteria andBeam_idEqualTo(Long value) {
            addCriterion("beam_id =", value, "beam_id");
            return (Criteria) this;
        }

        public Criteria andBeam_idNotEqualTo(Long value) {
            addCriterion("beam_id <>", value, "beam_id");
            return (Criteria) this;
        }

        public Criteria andBeam_idGreaterThan(Long value) {
            addCriterion("beam_id >", value, "beam_id");
            return (Criteria) this;
        }

        public Criteria andBeam_idGreaterThanOrEqualTo(Long value) {
            addCriterion("beam_id >=", value, "beam_id");
            return (Criteria) this;
        }

        public Criteria andBeam_idLessThan(Long value) {
            addCriterion("beam_id <", value, "beam_id");
            return (Criteria) this;
        }

        public Criteria andBeam_idLessThanOrEqualTo(Long value) {
            addCriterion("beam_id <=", value, "beam_id");
            return (Criteria) this;
        }

        public Criteria andBeam_idIn(List<Long> values) {
            addCriterion("beam_id in", values, "beam_id");
            return (Criteria) this;
        }

        public Criteria andBeam_idNotIn(List<Long> values) {
            addCriterion("beam_id not in", values, "beam_id");
            return (Criteria) this;
        }

        public Criteria andBeam_idBetween(Long value1, Long value2) {
            addCriterion("beam_id between", value1, value2, "beam_id");
            return (Criteria) this;
        }

        public Criteria andBeam_idNotBetween(Long value1, Long value2) {
            addCriterion("beam_id not between", value1, value2, "beam_id");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}